package god530.com.simpleapp_slide.account_new;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;

import com.flannery.utilslibrary.ActivityUtils;

import god530.com.simpleapp_slide.R;
import god530.com.simpleapp_slide.account_new.fragment.TallyFragment;

public class TallyActivity extends Activity {

    public static void startActivity(Context ctx) {
        ctx.startActivity(new Intent(ctx, TallyActivity.class));
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        ActivityUtils.setFullScreen(this);
        ActivityUtils.setNoOverridePendingTransition(this);
        setContentView(R.layout.activity_tally);

        getFragmentManager().beginTransaction().add(R.id.tally_content, TallyFragment.newInstance("", "")).commit();
    }

    @Override
    protected void onPause() {
        super.onPause();
        ActivityUtils.setNoOverridePendingTransition(this);
    }
}
